package com.pcb.controller;

import com.alibaba.fastjson.JSONObject;
import com.pcb.common.CommentResult;
import com.pcb.entity.ZDOMC;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * create by yongli on 2021-12-29 16:59
 */
@RestController
public class SchController {


    @PostMapping("/sch")
    public CommentResult receiver(@RequestBody ZDOMC zdomc) {
        System.out.println(JSONObject.toJSONString(zdomc));
        return CommentResult.success("receiver the request");
    }
}


